package com.salt.system.mapper;

import com.salt.common.mapper.BaseMapper;
import com.salt.system.model.domain.SysAuthorities;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * 用户角色表操作mapper
 *
 * @author HaiBo Kuang
 * @date 2021/4/24 15:33
 */
@Mapper
public interface SysAuthoritiesMapper extends BaseMapper<SysAuthorities> {
    /**
     * 通过id查询
     *
     * @param idCollection id集合
     * @return 结果
     */
    List<SysAuthorities> findAllByIdIn(@Param("idCollection") Collection<Long> idCollection);
}
